---
title: StatsGl
sourcecode: src/core/StatsGl.tsx
---

[![](https://img.shields.io/badge/-storybook-%23ff69b4)](https://drei.vercel.app/?path=/story/misc-statsgl--default-story)

Adds [stats-gl](https://github.com/RenaudRohlinger/stats-gl/) to document.body. It takes over the render-loop!

```jsx
<StatsGl className="stats" {...props} />
```
